Table of Contents

Class: ITypeManager .\src\TW\Database\Interfaces.py

An object which records delegate their management to

Base Classes   
SEF.IService
Methods   
_cacheRecord
_getType
_loadDataFor
_setTypeFor
_unsetTypeFor
  _cacheRecord 
_cacheRecord ( record )

Ensure that record is cached under (only) the correct keys

  _getType 
_getType ( typeName )

Return the ITypeImpl object corresponding to typeName

  _loadDataFor 
_loadDataFor ( record,  typeName )

Retrieve data for type typeName and load it into record, updating record's typeMap as appropriate (to reflect types found and not found). NOTE: Should also erase unused keys, if not overwriting them!

  _setTypeFor 
_setTypeFor ( record,  typeName )

Ensure that record is of type 'typeName'; should load default values, mark the applicable fields as dirty, and the appropriate types as being valid. Note that this implies _setTypeFor() on all supertypes of the selected type.

  _unsetTypeFor 
_unsetTypeFor ( record,  typeName )

Ensure that record is not of type 'typeName'; should remove fields from the record, and mark the appropriate types as not being valid. Note that this implies _unsetTypeFor() on all subtypes of the selected type.


Table of Contents

This document was automatically generated on Tue Mar 05 10:33:44 2002 by HappyDoc version WORKING